package cn.goktech.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @ClassName DBConnectionProperties
 * @Discription 数据库连接信息
 * @Author Carter
 * @Date 2021/4/17 21:24
 * @Version 2.0
 **/
@Configuration
@Component
@Data
@ConfigurationProperties(prefix = "dbconn")
public class DBConnectionProperties {
    private String driverClass;
    private String url;
    private String userName;
    private String passWorld;
}
